.friend_item_mould {
    position: relative;
    width: 100%;
    height: 62px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    user-select: none;
    -webkit-user-select: none;

    /*优化样式*/
    width: 95%;
    margin: auto;
    margin-top: 15px;
    box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    background-color: #fff;

    &.top {
        background-color: #dfdfde;
    }

    &:hover {
        background-color: #d7d7d8;
    }

    &.active {
        background-color: #c5c4c4;
        box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.2) inset;

        .date {
            color: #999999 !important;
        }
    }

    .user_head {
        position: relative;
        width: 36px;
        height: 36px;
        border-radius: 4px;
        background-color: #d8d8d8;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 22px;

        img {
            width: 100%;
            height: 100%;
            border-radius: 4px;
        }

        .not_read_count {
            position: absolute;
            z-index: 1;
            top: -7px;
            left: 25px;
            display: inline-block;
            min-width: 14px;
            height: 16px;
            box-sizing: border-box;
            padding: 0 5px;
            background-color: #ff3b30;
            border-radius: 50%;
            color: #fff;
            font-size: 12px;
            text-align: center;
            line-height: 16px;
        }
    }

    .rig {
        position: relative;
        width: 178px;
        height: 36px;

        .up {
            position: relative;
            width: 100%;
            display: flex;
            justify-content: space-between;

            .user_name {
                flex: 1;
                overflow: hidden;
                white-space: nowrap;
                text-overflow: ellipsis;
                font-size: 14px;
                box-sizing: border-box;
                padding-top: 2px;
                color: #000000;
                max-width: 142px;
            }

            .date {
                font-size: 12px;
                color: #c7c5c4;
            }
        }

        .down {
            position: relative;
            width: 100%;
            display: flex;
            justify-content: space-between;

            .msg_wrap {
                width: 135px;
                display: flex;
                gap: 2px;
                font-size: 12px;
                color: #999999;

                .msg {
                    flex: 1;
                    overflow: hidden;
                    white-space: nowrap;
                    text-overflow: ellipsis;
                    max-width: 152px;
                    height: 18px;
                    line-height: 18px;

                    img {
                        height: 18px;
                        vertical-align: top;
                    }
                }
            }

            .not_disturb {
                color: #b9b9b9;
                font-size: 12px;
            }
        }
    }
}
